package com.woyao.core.util;

import java.util.Random;

/**
 * Created by summerwind on 2016-05-15.
 */
public class RandomUtil {
    public static String randomNumber(int length){
        Random random = new Random();
        StringBuilder builder = new StringBuilder();

        for(int i = 0;i<length;i++){
            builder.append(random.nextInt(10));
        }
        return builder.toString();
    }
}
